home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / pupworld.swf / scripts / DefineSprite_237 / frame_20 / DoAction.as
Encoding:
Text File  |  2011-06-09  |  189 b   |  13 lines

  1. this.onEnterFrame = function()
  2. {
  3.    if(myPuppyColour != Heroes.Tools.getPlayerSkin())
  4.    {
  5.       delete this.onEnterFrame;
  6.       play();
  7.    }
  8.    else
  9.    {
  10.       stop();
  11.    }
  12. };
  13.